#include "staff.h"
istream& operator>>(istream& in, Staff& s)
{
    in >> s.m_id >> s.m_name >> s.m_academy >> s.m_phone >> s.m_wage >> s.m_allowance >> s.m_tax >> s.m_fund;
    return in;
}
ostream& operator<<(ostream& out, const Staff& s)
{
    out << s.m_id << " " << s.m_name << " " << s.m_academy << s.m_phone << " " << s.m_wage << " " << s.m_allowance << " " << s.m_tax << " " << s.m_fund;
    return out;
}